package com.anyou.mall.goo.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 商品套餐帮助表对象 goo_goods_suit_plan
 *
 * @author xq
 * @date 2022-04-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "商品套餐帮助表")
@TableName(value = "goo_goods_suit_plan")
public class GooGoodsSuitPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐商品关联表编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("套餐商品关联表编号")
    private Long goodsSuitPlanId;

    /** 商品id */
    @ApiModelProperty("商品id")
    @Excel(name = "商品id")
    private Long goodsId;

    /** 套餐商品sku编号 */
    @ApiModelProperty("套餐商品sku编号")
    @Excel(name = "套餐商品sku编号")
    private Long goodsSkuId;

    /** 商品套装编号 */
    @ApiModelProperty("商品套装编号")
    @Excel(name = "商品套装编号")
    private Long goodsSuitId;

    /** 套装商品价格 */
    @ApiModelProperty("套装商品价格")
    @Excel(name = "套装商品价格")
    private BigDecimal suitGoodsPrice;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date varchaTime;



}
